import request from '@/utils/request';

/**
 * POST 上传文件
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function createUploadUsingPOST({ params, data }) {
  return request('fileUpload/upload', {
    method: 'POST',
    params,
    data,
  });
}
/**
 * POST 删除文件
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function createFileDeleteUsingDelete({ params, data }) {
  return request('fileUpload/fileDelete', {
    method: 'DELETE',
    params,
    data,
  });
}
